package com.heba.greenmulu;

import android.os.Bundle;
import android.widget.TextView;

/**
 * 条码扫描结果页面
 * Created by jason on 2019/2/22.
 */

public class
ScanResultActivity extends BaseActivity {

    private TextView txt_result;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_scan_result);
        initTopbar();
        findViewById();
        initView();
    }

    @Override
    protected void findViewById() {
        txt_result = findViewById(R.id.textView);
    }

    @Override
    protected void initView() {
        txt_title.setText("Scan Result");

        Bundle bundle = getIntent().getExtras();
        if (null != bundle) {
            txt_result.setText(bundle.getString("result", ""));
        }
    }
}
